<?php
$path = realpath(__DIR__ . '/..');
$login == 1 ? include $path . '/gen/index_header.phtml' : include $path . '/gen/app_header.phtml';
echo $this->content;
include $path . '/gen/app_language.phtml';
include $path . '/gen/app_footer.phtml';